package cn.iocoder.yudao.module.system.dal.dataobject.examscoreconversion;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 成绩换算记录 DO
 *
 * @author 芋道源码
 */
@TableName("system_exam_score_conversion")
@KeySequence("system_exam_score_conversion_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ExamScoreConversionDO extends BaseDO {

    /**
     * 主键ID
     */
    @TableId
    private Long id;
    
    /**
     * 考试ID
     */
    private Long examId;
    
    /**
     * 学生ID
     */
    private Long studentId;
    
    /**
     * 原始成绩
     */
    private BigDecimal originalScore;
    
    /**
     * 换算后成绩
     */
    private BigDecimal convertedScore;
    
    /**
     * 预估位次
     */
    private Integer estimatedRank;
    
    /**
     * 特控线ID
     */
    private Long controlLineId;
    
    /**
     * 换算时间
     */
    private LocalDateTime conversionDate;

}